﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Places.master" AutoEventWireup="false" CodeFile="PlacesCreateAlbum.aspx.vb" Inherits="PlacesCreateAlbum" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<fieldset>
<legend><label>Create Album</label></legend>
<ul>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
        <li>
        <label for="AbumName">Album Name:</label>
        <asp:TextBox ID="txtAlname" runat="server" ToolTip="Give Album a name"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtAlname" ErrorMessage="Enter Name for Album"></asp:RequiredFieldValidator>
        </li>  
        
        <li>
        <label for="Category">Category:</label><asp:DropDownList ID="DDLCategory" 
                runat="server" DataSourceID="SqlDataSource1" DataTextField="AlbCategory" 
                DataValueField="ID">
        </asp:DropDownList>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:myFirstDatabase %>" 
                ProviderName="<%$ ConnectionStrings:myFirstDatabase.ProviderName %>" 
                SelectCommand="SELECT * FROM [tblAlbumCategory]"></asp:SqlDataSource>
                </li>
                <p>Will be a drop box initially, however I may want to make it a series of check boxes</p>

                <li><label for="Picture">Album Icon:</label>
            <asp:FileUpload ID="A_Image" runat="server" />
        </li>

        <li>
        <label for="AlbumDesc">Description:</label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtAlDesc" ErrorMessage="Describe the Album"></asp:RequiredFieldValidator>
        <asp:TextBox ID="txtAlDesc" runat="server" TextMode="MultiLine" 
                ToolTip="Describe the Album"></asp:TextBox>
        </li>
        <li>
    <asp:Button ID="btnSubmit" runat="server" Text="Create Album" />
    </li>
    </ul>
    </fieldset>
</asp:Content>

